home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
cquirk.arc
/
CQUIRK2.DOC
< prev
Wrap
Text File
|
1985-09-26
|
640b
|
12 lines
MS-C compiler note 2
9/24/85 by Tom Thompson
If you want to use the C runtime (SLIBC.LIB), but do not want to use the
normal runtime startup routine, then define the public number "_acrtused"
somewhere. Remember to prefix an extra underscore if done in ASM language.
Give the constant the value 1. All C obj modules have this as an extern
to force loading CRT0.OBJ from the library. Of course, this means don't
use most "higher level" library functions, especially memory allocate.
The ones you invariably need to use are shift subroutines, etc, that the
compiler generates calls to on primitive C operations.